home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / enlightenment / e_file_dialog.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  1KB  |  37 lines

  1. /*
  2.  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  3.  */
  4. #ifdef E_TYPEDEFS
  5.  
  6. typedef struct _E_File_Dialog E_File_Dialog;
  7.  
  8. #else
  9. #ifndef E_FILE_DIALOG_H
  10. #define E_FILE_DIALOG_H
  11.  
  12. #define E_FILE_DIALOG_TYPE 0xE0b01020
  13.  
  14. struct _E_File_Dialog
  15. {
  16.    E_Object             e_obj_inherit;
  17.    
  18.    E_Container         *con;
  19.    E_Dialog            *dia;
  20.    
  21.    char                *file;
  22.    
  23.    void (*select_func)(E_File_Dialog *dia, char *file, void *data);
  24.    void  *select_data;
  25.    void (*hilite_func)(E_File_Dialog *dia, char *file, void *data);
  26.    void  *hilite_data;   
  27. };
  28.  
  29. EAPI E_File_Dialog  *e_file_dialog_new               (E_Container *con);
  30. EAPI void            e_file_dialog_show              (E_File_Dialog *dia);
  31. EAPI void            e_file_dialog_title_set         (E_File_Dialog *dia, const char *title);
  32. EAPI void            e_file_dialog_select_callback_add(E_File_Dialog *dia, void (*func)(E_File_Dialog *dia, char *file, void *data), void *data);
  33. EAPI void            e_file_dialog_hilite_callback_add(E_File_Dialog *dia, void (*func)(E_File_Dialog *dia, char *file, void *data), void *data);
  34.  
  35. #endif
  36. #endif
  37.